#ifndef ZSTRING_H
#define ZSTRING_H

class ZString
{
    public:
        ZString();
        ZString(const char *string);
        ZString(const ZString &string);
        ~ZString();
        static int length(const char *string);
        static char *copy(const char *string);
        ZString operator=(const char *string);
        ZString operator=(const ZString &string);
        ZString operator+(const char *string);
        ZString operator+(const ZString &string);
        bool operator==(const char *string) const;
        bool operator==(const ZString &string) const;
		bool operator!=(const char *string) const;
		bool operator!=(const ZString &string) const;
		char operator[](const int index);
        char *getString() const;
        int getLength() const;

    private:
        char *z_string;
        int z_length;
};

#endif // ZSTRING_H
